Correct (mostly hypothetical) use-before-initted in pcx reader.
authorrobertl <robertl>
Thu, 6 Sep 2007 04:36:54 +0000 (04:36 +0000)
committerrobertl <robertl>
Thu, 6 Sep 2007 04:36:54 +0000 (04:36 +0000)
pcx.c

diff --git a/pcx.c b/pcx.c
index 5c479282f47532fbe4653513b4fe5cb4e1c4bf0a..6b94da33527977cacf3341d0ff9f2f41cd980900 100644 (file)
--- a/pcx.c
+++ b/pcx.c
@@ -82,7 +82,7 @@ static void
 data_read(void)
 {
        char name[7], desc[41];
-       double lat,lon;
+       double lat = 0, lon = 0;:
        long alt; 
        int symnum;
        char date[10];